-
Home
-
Gifty for WooCommerce
-
2.0.2
-
Code
-
Classes
- WC_Gifty_Cart
Total Complexity |
24 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
213 |
Lines of code |
129 |
Logical lines of code |
75 |
Comment lines |
33 |
Methods |
8 |
Properties |
2 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
apply_gift_card() |
A |
46 |
8 |
41 |
render_applied_gift_cards() |
S |
55 |
3 |
21 |
__construct() |
S |
55 |
3 |
19 |
calculate_gift_card_on_totals() |
S |
59 |
3 |
14 |
remove_gift_card() |
S |
61 |
3 |
12 |
get_gift_card() |
S |
65 |
2 |
10 |
render_gift_card_form() |
S |
68 |
1 |
8 |
destroy_cart_session() |
S |
77 |
1 |
4 |